package com.depth.viewer.manager
{
	import com.depth.viewer.loader.IWidgetLoader;
	import com.depth.viewer.widget.definition.IWidgetDefinition;
	
	import org.puremvc.as3.interfaces.IMediator;
	
	public interface IWidgetManager extends IMediator
	{
		function getRegistry():IWidgetContainerRegistry;
		function getLoader():IWidgetLoader;
		
		function loadWidget(id:String,display:Boolean = true,title:String = null,runingParams:Object = null):void;
		function removeWidget(id:String):void;
		function unLoadWidget(id:String):void; 
	}
}